package com.zyf.chapter02.structure.adapter.example3;

/**
 * 将外部系统 A 替换成外部系统 B
 * @author yifeng
 */
public class BAdaptror implements IA {
    private B b;

    public BAdaptror(B b) {
        this.b = b;
    }

    @Override
    public void fa() {
        // ...
        b.fb();
    }
}
